<div ng-controller="redDetailsCtrl">
    <div class="modal-header">
        <button type="button" class="close" ng-click="myopen.opt_close()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
        <h3 class="modal-title text-center">
            <samll>红包详情</samll>
        </h3>
    </div>
    <form class="form-horizontal ng-pristine ng-valid ng-scope">
        <!--<h4 class="text-center">￥{{red_opt.amount/100}}/{{red_opt.number}}个红包</h4>-->
        <div class="col-sm-12">
            <br/>
            <br/>
            <div class="col-sm-6">
                <h5 class="text-left" title="{{red_opt.name}}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;活动名称：{{red_opt.name|Intercept:30}}</h5>
                <h5 class="text-left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;活动时间：{{red_opt.starttime|date:'yyyy-MM-dd HH:mm'}}——{{red_opt.endtime|date:'yyyy-MM-dd HH:mm'}}</h5>
                <h5 class="text-left" title="{{red_opt.description}}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;活动描述：{{red_opt.description|Intercept:30}}</h5>
                <h5 class="text-left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;红包状态：
                    <span class="tag label label-primary family">
                    <span ng-if="red_opt.status==0">未开始</span>
                    <span ng-if="red_opt.status==1">进行中</span>
                    <span ng-if="red_opt.status==3">停止</span>
                    <span ng-if="red_opt.status==4">已结束</span>
                    </span>
                </h5>
            </div>
            <div class="col-sm-6">
                <h5 class="text-left">金&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;额：共￥{{red_opt.amount/100}}</h5>
                <h5 class="text-left">红&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;包：共{{red_opt.number}}个</h5>
                <h5 class="text-left">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：
                    <span ng-if="red_opt.sex==0">男</span>
                    <span ng-if="red_opt.sex==1">女</span>
                    <span ng-if="red_opt.sex==3">不限</span>
                </h5>
                <h5 class="text-left" ng-if="red_opt.birthdaystart||red_opt.birthdayend">出生日期：{{red_opt.birthdaystart|date:'yyyy-MM-dd'}} —— {{red_opt.birthdayend|date:'yyyy-MM-dd'}}</h5>
                <h5 class="text-left" ng-if="!red_opt.birthdaystart||!red_opt.birthdayend">出生日期：不限</h5>
                <h5 class="text-left" ng-if="!red_opt.is_imposed">区&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;域：不限</h5>
                <h5 class="text-left" ng-if="red_opt.is_imposed">区&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;域：
                    <div class="bootstrap-tagsinput">
                        <span style="display: inline-block;" class="tag label label-primary" ng-repeat="region in red_opt.area">{{region}}</span>
                    </div>
                </h5>
                <br/>
                <br/>
            </div>
        </div>
        <br/>


        <hr/>

        <!--<h5 class="text-center">限定条件</h5>
        <div class="form-group" ng-if="red_opt.birthdaystart||red_opt.birthdayend">
            <div class="col-sm-2 text-right">出生日期：</div>
            <div class="col-sm-9">
                {{red_opt.birthdaystart|date:'yyyy-MM-dd'}} —— {{red_opt.birthdayend|date:'yyyy-MM-dd'}}
            </div>
        </div>-->
        <!--<div class="form-group" ng-if="!red_opt.birthdaystart&&!red_opt.birthdayend">无出生日期限定</div>
        <div class="form-group">
            <div class="col-sm-2 text-right">性别:</div>
            <div class="col-sm-9">
                <span ng-if="red_opt.sex==0">男</span>
                <span ng-if="red_opt.sex==1">女</span>
                <span ng-if="red_opt.sex==3">全部</span>
            </div>
        </div>-->
        <!--<div class="form-group" ng-if="is_region_data">
            <div class="col-sm-2 text-right">区域:</div>
            <div class="col-sm-9">
                <div class="bootstrap-tagsinput">
                    <span style="display: inline-block;" class="tag label label-primary" ng-repeat="region in red_opt.area">{{region}}</span>
                </div>
            </div>
        </div>-->
        <div ng-include="'app/pages/redAdminM/redDetails/redStatistics.html'"></div>
        <hr/>
        <h5 class="text-center">活动图片</h5>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">红包活动宣传图：{{region.posters}}</label>
            <div class="col-sm-9">
                <img style="max-width: 600px;" ng-src="{{red_opt.posters}}" alt="">
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">红包活动主图:{{region.mainpic}}</label>
            <div class="col-sm-9">
                <img style="max-width: 600px;" ng-src="{{red_opt.mainpic}}" alt="">
            </div>
        </div>
        <!--<div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">红包中奖提示图:</label>
            <div class="col-sm-9">
                <img src="//img.hb.aicdn.com/5abf072f486e6d8a79fb2200c9b2bd2ca444f7095079-YJqj2m_fw658" alt="">
            </div>
        </div>-->
    </form>
    <br>
</div>